Filter hook 'get_{$taxonomy}'
in WP Core File wp-includes/taxonomy.php at line 1040
Description
Filters a taxonomy term object. The dynamic portion of the hook name, `$taxonomy`, refers to the slug of the term's taxonomy. Possible hook names include: - `get_category` - `get_post_tag`
Occurrences
Filename |
Line Number |
wp-includes/taxonomy.php |
1040 |
Parameters
Type |
Name |
Description |
WP_Term |
$_term |
Term object. |
string |
$taxonomy |
The taxonomy slug. |
PHP Doc
/**
* Filters a taxonomy term object.
*
* The dynamic portion of the hook name, `$taxonomy`, refers
* to the slug of the term's taxonomy.
*
* Possible hook names include:
*
* - `get_category`
* - `get_post_tag`
*
* @since 2.3.0
* @since 4.4.0 `$_term` is now a `WP_Term` object.
*
* @param WP_Term $_term Term object.
* @param string $taxonomy The taxonomy slug.
*/